package com.mikufufu.blog.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mikufufu.blog.model.dto.api.PicturePageParam;
import com.mikufufu.blog.model.entity.Picture;
import com.mikufufu.blog.mapper.PictureMapper;
import com.mikufufu.blog.model.vo.api.PictureVO;
import com.mikufufu.blog.service.PictureService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 图片表 服务实现类
 * </p>
 *
 * @author moxiaoli
 * @since 2025-08-07
 */
@Service
public class PictureServiceImpl extends ServiceImpl<PictureMapper, Picture> implements PictureService {

    @Override
    public IPage<PictureVO> getPicturePage(PicturePageParam param) {
        return baseMapper.getPicturePage(param.getPage(), param);
    }
}
